package cm.hyb.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cm.hyb.Controller.model.Employee;
import cm.hyb.mapper.EmployeeMapper;
import cm.hyb.service.EmployeeService;

@Service
public class EmployeeServiceImpl implements EmployeeService{

	@Resource
	private EmployeeMapper employeeMapper;
	
	@Override
	public Employee finAll(){
		return employeeMapper.finAll();
	}
	
	@Override
	public List<Employee> finAlls() {
		return employeeMapper.finAlls();
	}
	
	@Override
	public Boolean delete(Map<String, Object> map) {
		return employeeMapper.delete(map);
	}

	
}
